package edu.goku.examples.httpsdemo.rest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fuyongde
 * @date 2020/12/5 22:19
 */
@RestController
@RequestMapping("/index")
public class IndexRestController {

    @GetMapping("/hello")
    public String hello() {
        return "Hello World!";
    }
}
